package com.cyzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyzy.pojo.Banner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zxw
 * @create 2025-05-27 下午8:15
 */
@Mapper
public interface BannerMapper extends BaseMapper<Banner> {
    // 自定义分页查询方法
    Page<Banner> selectBannerPage(@Param("page") Page<Banner> page, @Param("banner") Banner banner);
}
